home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmFontListGetNextFont.z
/
XmFontListGetNextFont
Wrap
Text File
|
1998-10-30
|
5KB
|
133 lines
XXXXmmmmFFFFoooonnnnttttLLLLiiiissssttttGGGGeeeettttNNNNeeeexxxxttttFFFFoooonnnntttt((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmFFFFoooonnnnttttLLLLiiiissssttttGGGGeeeettttNNNNeeeexxxxttttFFFFoooonnnntttt((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmFFFFoooonnnnttttLLLLiiiissssttttGGGGeeeettttNNNNeeeexxxxttttFFFFoooonnnntttt - A font list function that allows
applications to access the fonts and character sets in a
font list
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Xm.h>
BBBBoooooooolllleeeeaaaannnn XXXXmmmmFFFFoooonnnnttttLLLLiiiissssttttGGGGeeeettttNNNNeeeexxxxttttFFFFoooonnnntttt(
XXXXmmmmFFFFoooonnnnttttCCCCoooonnnntttteeeexxxxtttt ccccoooonnnntttteeeexxxxtttt,
XXXXmmmmSSSSttttrrrriiiinnnnggggCCCChhhhaaaarrrrSSSSeeeetttt ****cccchhhhaaaarrrrsssseeeetttt,
XXXXFFFFoooonnnnttttSSSSttttrrrruuuucccctttt ********ffffoooonnnntttt);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmFFFFoooonnnnttttLLLLiiiissssttttGGGGeeeettttNNNNeeeexxxxttttFFFFoooonnnntttt accesses the character set and font
for the next entry of the font list. The application first
uses the XXXXmmmmFFFFoooonnnnttttLLLLiiiissssttttIIIInnnniiiittttFFFFoooonnnnttttCCCCoooonnnntttteeeexxxxtttt routine to create a font
list context. The application then calls
XXXXmmmmFFFFoooonnnnttttLLLLiiiissssttttGGGGeeeettttNNNNeeeexxxxttttFFFFoooonnnntttt repeatedly with the same context. Each
succeeding call accesses the next element of the font list.
When finished, the application calls
XXXXmmmmFFFFoooonnnnttttLLLLiiiissssttttFFFFrrrreeeeeeeeFFFFoooonnnnttttCCCCoooonnnntttteeeexxxxtttt to free the allocated font list
context.
This routine allocates memory for the character set string
that must be freed by the application. The function
allocates memory for _c_h_a_r_s_e_t. The application is
responsible for managing the allocated memory. The
application can recover the allocated memory by calling
XXXXttttFFFFrrrreeeeeeee.
This function is obsolete and exists for compatibility with
previous releases. It is replaced by XXXXmmmmFFFFoooonnnnttttLLLLiiiissssttttNNNNeeeexxxxttttEEEEnnnnttttrrrryyyy.
If XXXXmmmmFFFFoooonnnnttttLLLLiiiissssttttGGGGeeeettttNNNNeeeexxxxttttFFFFoooonnnntttt is passed a context that contains a
font set entry, it will return the first font of the font
set. The next call to the function will move to the next
entry in the font list.
_c_o_n_t_e_x_t Specifies the font list context
_c_h_a_r_s_e_t Specifies a pointer to a character set string; the
routine returns the character set for the current
font list element
_f_o_n_t Specifies a pointer to a pointer to a font
structure; the routine returns the font for the
current font list element
RRRREEEETTTTUUUURRRRNNNN
Returns True if the returned values are valid; otherwise,
Page 1 (printed 10/24/98)
XXXXmmmmFFFFoooonnnnttttLLLLiiiissssttttGGGGeeeettttNNNNeeeexxxxttttFFFFoooonnnntttt((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmFFFFoooonnnnttttLLLLiiiissssttttGGGGeeeettttNNNNeeeexxxxttttFFFFoooonnnntttt((((3333XXXX))))
returns False.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmFFFFoooonnnnttttLLLLiiiisssstttt(3) and XXXXmmmmFFFFoooonnnnttttLLLLiiiissssttttNNNNeeeexxxxttttEEEEnnnnttttrrrryyyy(3).
Page 2 (printed 10/24/98)